<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>angular案例</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0-beta.2/css/bootstrap.css">
    <link rel="stylesheet" href="content/main.css">
    <link rel="stylesheet" href="content/loading-bar.css" type="text/css" media="all">
</head>

<body>
    <!--头部导航-->
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false"
                    aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
               </button>
                <a class="navbar-brand" href="#">angular案例</a>
            </div>
            <div id="navbar" class="navbar-collapse collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">Help</a></li>
                </ul>
                <form  class="navbar-form navbar-right">
                    <input type="text" class="form-control" placeholder="Search...">
                </form>
            </div>
        </div>
    </nav>
    <!--内容区域-->
    <div class="container-fluid">
        <div class="row">
            <!--左边菜单栏-->
            <div class="col-sm-3 col-md-2 sidebar" ng-controller="sidebarCtrl">
                <ul class="nav nav-sidebar" side-bar>
                    <li class="active">
                        <a ui-sref="accordtion">bootstrap手风琴指令实例</a>
                    </li>
                    <li>
                        <a ui-sref="container" >容器管理模板</a>
                    </li>
                </ul>
            </div>
            <!--右边视图部分显示区域-->
            <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
                <ui-view></ui-view>
            </div>
        </div>
    </div>
    <!--引入requireJs库，并且指明入口函数main.js,采用手动启动angularJs应用-->
    <script type="text/javascript" src="scripts/lib/require.js" data-main="scripts/main.js"></script>
</body>
</html>
